import re

def deal_full_stop_punc(seg_list, full_stop_punc):
    # full stop punctuation.: ，。？！
    for i in range(len(seg_list)):
        if seg_list[i] in full_stop_punc:
            seg_list[i]='<s>'

def rm_ignore_punc(text):
    ignore_punc='（）《》“”<>「」{}()[]【】'
    return re.sub("".format(ignore_punc),"", text)